package views

import (
	"fmt"
	"net/http"
	"strings"
)

func (*HTMLApi) Category(w http.ResponseWriter, r *http.Request) {
	//处理 /c/1 参数

	path := r.URL.Path
	//将路径转化为cid
	cIdStr := strings.TrimPrefix(path,/c/)
	cId,err:= strconv.Atoi(CIdStr)
}
